package com.dllo.lanou.cookapp.entity;

import java.util.List;

import cn.bmob.v3.BmobObject;
import cn.bmob.v3.datatype.BmobFile;
import cn.bmob.v3.datatype.BmobRelation;

/**
 * Created by xijinhua on 2016/3/12.
 */
public class Post extends BmobObject {
    private String content;//帖子内容
    private User author;//帖子的发布者
    private String imgsUrl;//帖子的图片
    private BmobRelation liks;//收藏

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public User getAuthor() {
        return author;
    }

    public void setAuthor(User author) {
        this.author = author;
    }

    public String getImgsUrl() {
        return imgsUrl;
    }

    public void setImgsUrl(String imgsUrl) {
        this.imgsUrl = imgsUrl;
    }

    public BmobRelation getLiks() {
        return liks;
    }

    public void setLiks(BmobRelation liks) {
        this.liks = liks;
    }

    @Override
    public String toString() {
        return "Post{" +
                "content='" + content + '\'' +
                ", author=" + author +
                ", imgsUrl=" + imgsUrl +
                ", liks=" + liks +
                '}';
    }
}
